{%include file="index.header.tpl.php"%}
{%include file="index.left.tpl.php"%}
 <!--主要内容开始-->
  <div class="content-wrapper">
    <section class="content">
      <div class="row">
        <section class="col-lg-12 connectedSortable">
         <div class="box box-default box-solid">	
                <div class="box-header with-border">
                    <h4 class="text-center" style="font-family:'{%$style_data.style_typeface%}';font-size:{%$style_data.style_number%};font-weight:{%$style_data.style_overstriking%};font-style:{%$style_data.style_italic%};color:{%$style_data.style_color%}">{%$notice_data.notice_title%}</h4>
					
                </div>
                <div class="box-body">
                    <div class="col-md-4">
					    <p class="text-right">发布人：<span>{%$notice_data.staff_xname%}</span></p>
					</div> 
                    <div class="col-md-4">
					    <p class="text-center">发布时间：<span>{%$notice_data.create_time%}</span></p>
					</div>
					<div class="col-md-4">
					   <p class="text-left">要求完成时间：<span>{%$notice_data.end_time%}</span></p>
					</div>					
					<div>
					   <p>{%$notice_data.notice_content%}</p>
					   <p>附件：<a href="index.php?a=notice.output&notice_file={%$notice_data.notice_file%}">{%$notice_data.notice_file%}</a></p>
					</div>
					<hr/>
					<p style="color:#333;">阅读记录列表（红色：未阅读用户）</p>
					<table class="table table-bordered table-striped" id="mytable">
                      <thead>
					    <tr>
						    <td>部门</td>
							<td>阅读用户</td>
						</tr>
                       </thead>
						<tr>
						    <td>老师</td>
							<td>
							{%foreach from=$staff_name key=key item=value%}
								{%if $value.is_read ==1%}
									<span >{%$value.staff_name%}</span>，
								{%else%}
									<span style="color:red;">{%$value.staff_name%}</span>，
								{%/if%}
							{%/foreach%}	
							
							</td>
						</tr>
						<tr>
						    <td>学生</td>
							<td>
							{%foreach from=$student_name key=key item=value%}
								{%if $value.is_read ==1%}
									<span >{%$value.student_name%}</span>，
								{%else%}
									<span style="color:red;">{%$value.student_name%}</span>，
								{%/if%}
							{%/foreach%}	
							
							</td>
						</tr>
					</table>
				</div><!--box-body -->
           </div><!--box box-default box-solid-->
        </section>   
           
        </div><!--row-->
    </section>
 </div>
  <!--主要内容结束-->
{%include file="index.footer.tpl.php"%}
<script type="text/javascript">
	$(document).ready(function(){
		$("#ming").hide();			
		$("#cang").click(function(){
			$("#ming").show();
			$("#cang").hide();
		});
	});
</script>